

/**
 * 角色列
 */
export enum PlayerCharacterColums {
    /** 角色等级 */
    level = 'lv',
    /**
     * 经验
     */
    ex = 'ex',
    /**
     * 当前武器在背包中的序号
     */
    wp = 'wp',

    /**
     * 快捷武器
     */
    quickWeapon = 'QW',
    /**
     * 角色穿戴
     */
    outfits = 'of',
    /**
     * 角色出生点
     */
    savedTeleporter = 'st',
    /**
     * 战胜的一次性boss
     */
    bossOnce = 'bo',
    model = 'md',
    /**
     * 装甲皮肤
     */
    armorSkin = "ams"
}
/**
 * 用户角色数据
 */
export default class PlayerCharacterEntity {

    [PlayerCharacterColums.level] = '1';
    [PlayerCharacterColums.ex] = '0';
    [PlayerCharacterColums.wp] = 0;
    [PlayerCharacterColums.quickWeapon]: number[] = [0];
    [PlayerCharacterColums.outfits] = '0';
    [PlayerCharacterColums.savedTeleporter] = '1';
    [PlayerCharacterColums.bossOnce]: string[] = [];
    [PlayerCharacterColums.model]: string = 'man';
    [PlayerCharacterColums.armorSkin] = new Map<string, number>()
    /**
     *
     * @param 角色id
     */
    constructor(public id: string) {

    }

}